/*
 * @Author: monet hanxu@huaun.com
 * @Date: 2023-09-26 10:17:20
 * @LastEditors: zhangyonggui
 * @LastEditTime: 2023-10-13 16:56:36
 * @FilePath: /h-radar-expose/plugins/antvG6/gradientsConfig.js
 * @Description:渐变色配置文件
 */
export default {
    // 顶点 linear-gradient(135deg, #FFD7B1 18%, #D900FF 85%)
    vertexGradient: {
      size: [66, 66],
      style: {
        fill: 'l(45) 0.15:#FFD7B1 0.85:#D900FF',
      },
      icon: {
        fontSize: 38,
      },
      labelCfg: {
        position: 'bottom',
        offset: 30,
        style: {
          // fill: 'rgba(255, 255, 255, 0.8)',
          fill: 'rgba(0, 0, 0, 1)',
        },
      },
    },
    // 类型节点
    // linear-gradient(135deg, #A735FF 15%, #3700FF 85%)
    typeGradient: {
      size: [50, 50],
      style: {
        fill: 'l(45) 0.15:#A735FF 0.85:#3700FF',
      },
      icon: {
        fontSize: 28,
      },
      labelCfg: {
        position: 'bottom',
        offset: 20,
        style: {
          // fill: 'rgba(255, 255, 255, 0.8)',
          fill: 'rgba(0, 0, 0, 1)',
        },
      },
    },
    // 子级节点
    // linear-gradient(135deg, #0273FD 16%, #3BEBFF 84%)
    subordinateGradient: {
      size: [40, 40],
      style: {
        fill: 'l(45) 0.15:#0273FD 0.85:#3BEBFF',
      },
      icon: {
        fontSize: 20,
      },
      labelCfg: {
        position: 'bottom',
        offset: 15,
        style: {
          // fill: 'rgba(255, 255, 255, 0.8)',
          fill: 'rgba(0, 0, 0, 1)',
        },
      },
    },
  }
  